function http({
    url,
    success
}){
    wx.request({
        url,
        header: {'content-type':'application/json'},
        method: 'GET',
        dataType: 'json',
        responseType: 'text',
        success: (result)=>{
            success(result)
        }
    });
}
function getMusicHttp(callback){
    http({
        url,
        success:res=>{
            callback(res)
        }
    })
}
function getMvHttp(callback){
    http({
        url,
        success:res=>{
            callback(res)
        }
    })
}
module.exports = {
    getMusicHttp,
    getMvHttp
}